<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<style type="text/css">
    .box{
       	  width: 200px;
       	  height: 200px;
       	  background: red;
       }
	</style>
	<script type="text/javascript">
    
  window.onload = function(){
  box = document.getElementById('box');
  box.onmouseover  = function  (){
  box.style.width="400px";
  box.style.height="400px";
	}
}



	</script>
</head>
<body>
	<div class="box" id="box"></div>
</body>
</html>